/*
 * Copyright 2016-2021 the original author.All rights reserved.
 * Kingstar(honeysoft@126.com)
 * The license,see the LICENSE file.
 */

package org.teasoft.honey.osql.core;

/**
 * @author Kingstar
 * @since  1.9
 */
public class CheckField {

	public static boolean isNotValid(String fieldName) {
		if (fieldName == null || fieldName.contains(" ") || fieldName.contains("--") || fieldName.contains("#")
				|| fieldName.contains("|") || fieldName.contains(";")) {
			return true;
		}
		return false;
	}

}
